package pm.util;

import java.sql.Timestamp;

public class PMUtils {

	public static Timestamp getNowtime() {
		Timestamp date = new Timestamp(System.currentTimeMillis());
		return date;
	}
	
	public static String getNewFilename() {
		int i = (int) (Math.random() * 100000);
		// System.out.println("i-->"+i);
		return System.currentTimeMillis() + i + "";
	}
}
